(C) 1996 AROS - The Amiga Replacement OS
NAME
#include <stdio.h>
int fclose()
SYNOPSIS
FILE * stream
FUNCTION
Closes a stream.
INPUTS
stream
Stream to close.
RESULT
Upon successful completion 0 is returned. Otherwise, EOF is returned and the global variable errno is set to indicate the error. In either case no further access to the stream is possible.
NOTES
EXAMPLE
BUGS
SEE ALSO
fopen()
,
open()
,
close()
INTERNALS
HISTORY
02.04.1997 ldp
Add BPTR casts
17.01.1997 digulla
New functions: fopen(), fclose(), fgets(), ferror(), clearerr(), fread(), fwrite(), getchar(), gets()